package com.spring.cloud.seata.mapper;

import com.spring.cloud.seata.domain.Order;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhangtengfei
 * @date 2021/10/18 11:25
 */
public interface OrderMapper {

    int saveOrder(Order order);

    int updateOrderStatusById(@Param("orderId") Integer orderId, @Param("status") Integer orderStatus);
}
